package com.sq.partner.manager.dao;

import java.util.List;

import com.sq.partner.manager.mybatis.model.GatewayChannelIp;


/**
 * 渠道IP
 * @author Kang Zhiqiang
 *
 */
public interface IGatewayChannelIpDao extends BaseDao{

	/**
	 * 根据channelIp属性查询相应的channelIp
	 * @param channelIp
	 * @return
	 * @throws Exception
	 */
	public List<GatewayChannelIp> queryByChannelIp(GatewayChannelIp channelIp) throws Exception;
	
	/**
	 * 根据channelIp属性删除相应的channelIp
	 * @param channelIp
	 * @throws Exception
	 */
	public void delByChannelIp(GatewayChannelIp channelIp) throws Exception;
	
	/**
	 * 添加channelIp
	 * @param channelIp
	 * @throws Exception
	 */
	public void save(GatewayChannelIp channelIp) throws Exception;
}
